package com.briup.day05;

public class Test_BasicArray {
    public static void main01(String[] args) {
        int[] arr=new int[]{1,2,3,4,5};
        outArray(arr);
        int[] arr1={3,2,22,4,5};
        outArray(arr1);
        int[] arr2;
        arr2=new int[]{13,2,3,48,5};
        outArray(arr2);
    }

    public static void main(String[] args) {
        int[] arr=new int[]{1,2,3,4,5};
        int[] arr1=arr;
        System.out.println(arr==arr1);
    }
    public static void outArray(int[] arr){
        for(int i=0;i<arr.length;i++){
            System.out.print(arr[i]+" ");
        }
    }
}
